﻿<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="NewHouse.ascx.cs" Inherits="ZF.WS.UserControls.Index.NewHouse" %>
<div class="ct1 content">
 
    <div class="board fylist fl_ mt10_">
        <dl>
            <dt><a href="/house/search.aspx" class="active slide" bind="newcz">最新出租信息</a> 
            <a href="/house/qzlist.aspx?dt=1"  class=" slide" bind="newqz">最新求租信息</a> <a href="/house/search.aspx" class="more">
                更多>></a> </dt>
            
                <zf:ListView runat="server" ID="lvNewCZ">
                    <LayoutTemplate>
                    <dd class="slide newcz"  >
                        <table >
                            <tr>
                                <th  class="t1">
                                    区域
                                </th>
                                <th class="t2">
                                    房源地址
                                </th>
                                <th class="t3">
                                    房型
                                </th>
                                <th class="t4">
                                    租金
                                </th>
                                <%--<th class="t5">
                                    日期
                                </th>--%>
                            </tr>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </table>
                        </dd>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr>
                            <td class="t1">
                                <%#  string.Format("[{0}{2}{1}]",Eval("City"),Eval("Area"),string.Concat(Eval("Area"))==""?"":" ")  %> 
                            </td>
                            <td  class="t2" style=" width:200px; overflow:hidden; text-transform:inherit;word-break:break-all">
                             
                               <a href="/house/houseinfo.aspx?hid=<%# Eval("House.HouseId") %>"><%# string.Concat(Eval("House.Title")).MaxLength(16) %></a> 
                            </td>
                            <td  class="t3">
                                <%# Eval("Model") %>
                            </td  class="t4">
                            <td>
                                <%# Eval("Price")%>元/月
                            </td>
                          <%--  <td  class="t5">
                                <%# ((DateTime)Eval("House.AddTime")).ToShortDateString() %>
                            </td>--%>
                        </tr>
                    </ItemTemplate>
                </zf:ListView>
                
                <zf:ListView runat="server" ID="lvNewQZ">
                    <LayoutTemplate>
                      <dd class="slide dn_ newqz" >
                        <table>
                            <tr>
                                <th>
                                    区域
                                </th>
                                <th>
                                  房型
                                </th>
                                <th>
                                    租金
                                </th>
                                <th>
                                    发布日期
                                </th>
                            </tr>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </table>
                        </dd>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr>
                            <td   class="t1">
                                [<%#(string.Concat(Eval("City")) +string.Concat(Eval("Area"))).MaxLength(8)%>]
                            </td>
                                 <td>
                                <a href="/house/HouseReqInfo.aspx?hid=<%# Eval("House.QiuzuId") %>"><%# Eval("Model") %></a>
                            </td>
                            <td>
                                <%# Eval("Price") %>元/月
                            </td>
                            <td>
                                <%# ((DateTime)Eval("AddTime")).ToShortDateString() %>
                            </td>
                        </tr>
                    </ItemTemplate>
                </zf:ListView>
            
        </dl>
    </div>
    <div class="board fylist fl_ mt10_ ml10_ ">
        <dl>
            <dt><a href="/house/search.aspx?dt=3" class="slide active" bind="newesfy">最新二手房源</a> 
            <a href="/house/qzlist.aspx?dt=2" class="slide" bind="esfqg"> 二手房求购</a> <a href="/house/search.aspx?dt=3" class="more">更多>></a> </dt>
         
              <zf:ListView runat="server" ID="lvNewESSF">
                    <LayoutTemplate>
                    <dd class="slide newesfy"  >
                        <table >
                            <tr>
                                <th  class="t1">
                                    区域
                                </th>
                                <th class="t2">
                                    房源地址
                                </th>
                                <th class="t3">
                                    房型
                                </th>
                                <th class="t4">
                                    售价
                                </th>
                                 <%--<th class="t5">
                                    日期
                                </th>--%>
                            </tr>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </table>
                        </dd>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr>
                            <td class="t1">
                                <%#  string.Format("[{0}{2}{1}]",Eval("City"),Eval("Area"),string.Concat(Eval("Area"))==""?"":" ")  %> 
                            </td>
                            <td  class="t2"  style=" width:200px; overflow:hidden; text-transform:inherit;word-break:break-all">
                               <a href="/house/houseinfo.aspx?hid=<%# Eval("House.HouseId") %>"><%# string.Concat(Eval("House.Title")).MaxLength(16) %></a>
                            </td>
                            <td  class="t3">
                                <%# Eval("Model") %>
                            </td >
                             <td  class="t4">
                                <%# Eval("Price") %>万元/套 
                            </td >
                           <%-- <td  class="t5">
                                <%# ((DateTime)Eval("House.AddTime")).ToShortDateString() %>
                            </td>--%>
                        </tr>
                    </ItemTemplate>
                </zf:ListView>
 
             
            <zf:ListView runat="server" ID="lvNewESQG">
                    <LayoutTemplate>
                    <dd class="slide esfqg dn_"  >
                        <table  >
                            <tr>
                                <th>
                                    区域
                                </th>
                                <th>
                                    房型
                                </th>
                                <th>
                                    价格
                                </th>
                                <th>
                                    日期
                                </th>
                            </tr>
                            <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                            </zf:PlaceHolder>
                        </table>
                        </dd>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr>
                             <td   class="t1">
                                [<%#(string.Concat(Eval("City")) +" "+string.Concat(Eval("Area"))).MaxLength(8)%>]
                            </td>
                                 <td>
                              <a href="/house/HouseReqInfo.aspx?hid=<%# Eval("House.QiuzuId") %>">  <%# Eval("Model") %></a>
                            </td>
                            <td>
                                <%# Eval("Price") %>万元/套 
                            </td>
                            <td>
                                <%# ((DateTime)Eval("AddTime")).ToShortDateString() %>
                            </td>
                        </tr>
                    </ItemTemplate>
                </zf:ListView>
 
        
        </dl>
    </div>

    

    <div class="fc_">
    </div>
</div>
